package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Data
public class UpdateRuleRequest {
    @ApiModelProperty("商品id")
    @NotNull(message = "商品id不能为空")
    private Long productId;
    @ApiModelProperty("规则id")
    @NotNull(message = "规则id不能为空")
    private Long id;
    @ApiModelProperty("消耗的藏品数量")
    @NotNull(message = "消耗的藏品数量不能为空")
    private Integer number;
    @ApiModelProperty("合成后是否消耗")
    @NotNull(message = "请设置合成后是否消耗")
    private Boolean isDestroy;
}
